package com.cs.cssupplier.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * @Author：lyj
 * @Package：com.cs.cssupplier.domain
 * @Project：RuoYi-Cloud-master
 * @name：CsCodeRules
 * @Date：2024/11/13 14:45
 * @Filename：CsCodeRules
 */
public class CsCodeRules extends BaseEntity {
    /**
     *
     */
    private Long id;

    /**
     * 目标表单
     */
    private String target_form;

    /**
     * 编号前缀
     */
    private String prefix;

    /**
     * 流水号
     */
    private Long serial_number;

    /**
     * 步长
     */
    private Long step;

    /**
     * 编号规则
     */
    private String code_rules;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 操作时间
     */
    private Date update_time;

    /**
     * 年
     */
    private String year;

    /**
     * 月
     */
    private String mouth;

    /**
     * 日
     */
    private String day;

    /**
     * 时
     */
    private String hour;

    /**
     * 分
     */
    private String minute;

    /**
     * 秒
     */
    private String second;

    /**
     * 最大尾数
     */
    private String max_mantissa;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTarget_form() {
        return target_form;
    }

    public void setTarget_form(String target_form) {
        this.target_form = target_form;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public Long getSerial_number() {
        return serial_number;
    }

    public void setSerial_number(Long serial_number) {
        this.serial_number = serial_number;
    }

    public Long getStep() {
        return step;
    }

    public void setStep(Long step) {
        this.step = step;
    }

    public String getCode_rules() {
        return code_rules;
    }

    public void setCode_rules(String code_rules) {
        this.code_rules = code_rules;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMouth() {
        return mouth;
    }

    public void setMouth(String mouth) {
        this.mouth = mouth;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getMinute() {
        return minute;
    }

    public void setMinute(String minute) {
        this.minute = minute;
    }

    public String getSecond() {
        return second;
    }

    public void setSecond(String second) {
        this.second = second;
    }

    public String getMax_mantissa() {
        return max_mantissa;
    }

    public void setMax_mantissa(String max_mantissa) {
        this.max_mantissa = max_mantissa;
    }

    @Override
    public String toString() {
        return "CsCodeRules{" +
                "id=" + id +
                ", target_form='" + target_form + '\'' +
                ", prefix='" + prefix + '\'' +
                ", serial_number=" + serial_number +
                ", step=" + step +
                ", code_rules='" + code_rules + '\'' +
                ", operator='" + operator + '\'' +
                ", update_time=" + update_time +
                ", year='" + year + '\'' +
                ", mouth='" + mouth + '\'' +
                ", day='" + day + '\'' +
                ", hour='" + hour + '\'' +
                ", minute='" + minute + '\'' +
                ", second='" + second + '\'' +
                ", max_mantissa='" + max_mantissa + '\'' +
                '}';
    }
}
